package com.meta.nd.service;

import com.meta.common.CommonInfo;
import com.meta.nd.filter.bo.FilterDef;
import com.meta.nd.filter.bo.FilterParamDef;
import com.meta.nd.filter.vo.FilterByDefVo;
import com.meta.nd.filter.vo.FilterResultVo;

import java.util.List;
import java.util.Map;

public interface NvFilterService {
    FilterResultVo filterNvsByParamDef(CommonInfo commonInfo, FilterParamDef filterParamDef);
    FilterResultVo  filterNvs(CommonInfo commonInfo, FilterByDefVo filterDef);
    FilterResultVo filterNvs(CommonInfo commonInfo, FilterDef filterDef);
    List<Map<String,Object>> filterRecordMap(CommonInfo commonInfo, FilterDef filterDef);
    List<Map<String,Object>> filterRecordMap(CommonInfo commonInfo, String sql, Map<String,Object> parmMap);

}
